package com.superboboge;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.Date;
import java.util.List;

public interface  UserDAO extends JpaRepository<User, Integer>,JpaSpecificationExecutor{
    List<User> findByGmtCreatedBetween(Date startDate, Date endDate);

}
